from bs4 import BeautifulSoup

soup = BeautifulSoup('<p class="sc">content</p>', "html.parser")
tag = soup.p
print(type(tag))

# 输出结果如下：
# <class 'bs4.element.Tag'>